python program to print natural numbers from 1 to n